package com.java.service;

import com.java.entity.Paper;

import java.util.List;

public interface PaperService {

    int insert(Paper paper);

    int delete(Integer paperId);

    int update(Paper paper);

    Paper selectOne(Integer paperId);

    List<Paper> selectAll();

    List<Paper> selectByStatus(Integer status);

    int distributeQuestion(Integer paperId, List<Integer> questionIds);

    Paper selectPaperQuestionByPaperId(Integer paperId);

    Paper selectPaperQuestionOptionByPaperId(Integer paperId);

    int deletePaperQuestionByPaperId(Integer paperId);

}
